package ue.web.sys;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import ue.entity.system.User;
import ue.service.IuserService;
@Controller
@RequestMapping("/sysuser")
public class SystemUserController {
	
	@Autowired
	IuserService iuserService;
	
	@RequestMapping("/query")
	public User queryUser(Integer userId){
		
		User user  = this.iuserService.queryUser(userId);
		System.out.println(user);
		return user;
		
	}

}
